package com.ks.fission.service;

import com.ks.core.base.OperationContext;
import com.ks.core.dto.OperateBase;
import com.ks.core.dto.SearchCriteriaBase;
import com.ks.fission.entity.BFissionReward;
import com.baomidou.mybatisplus.service.IService;

import java.util.Map;

/**
 * <p>
 * 裂变-分享奖励规则 服务类
 * </p>
 *
 * @author kingdee123
 * @since 2020-12-21
 */
public interface IBFissionRewardService extends IService<BFissionReward> {

    /**
     * 奖励规则添加接口
     * @param context
     * @param bFissionReward
     * @return
     */
    int insertBFissionTask(OperationContext context, BFissionReward bFissionReward);

    /***
     * 奖励规则删除接口
     * @param context
     * @param operateBase
     * @return
     */
    int deleteBFissionReward(OperationContext context, OperateBase operateBase);

    /**
     * 奖励规则修改接口
     * @param context
     * @param bFissionReward
     * @return
     */
    int updateBFissionReward(OperationContext context, BFissionReward bFissionReward);

    /**
     * 奖励规则清单查询接口
     * @param context
     * @param searchCriteriaBase
     * @return
     */
    Map<String, Object> selectBFissionReward(OperationContext context, SearchCriteriaBase searchCriteriaBase);
}
